home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine CD 1995 / Archive Magazine CD 1995.iso / discs / prog_disc / volume_3 / issue02 / info / utils < prev    next >
Encoding:
Text File  |  1989-09-30  |  1.6 KB  |  49 lines

  1. > ReadMe
  2.  
  3. !LoadBasic / !RunBasic
  4.  
  5. LoadBasic is an application which automatically re-directs RUN <Basic File>
  6. operations to load the file, i.e. double-clicking on a BASIC program loads
  7. the file rather than runs it. As this is not always convenient (Nearly all
  8. applications will fail while this is in effect) the load effect is disabled
  9. by double-clicking on the LoadBasic application, upon which its name and icon
  10. change to RunBasic to flag the change. Double clicking on RunBasic will
  11. re-enable load-on-double-click.
  12.  
  13. !Twin / !Twin132
  14.  
  15. Enables BASIC to find Twin whichever disk it is stored on. Before the
  16. application can be used, both Twin and Twin132 must be copied into the
  17. application directory. Whenever the application is first displayed in a
  18. directory viewer it will set an operating system variable Alias$Twin to run
  19. Twin from that directory, i.e. from BASIC the TWIN command will prompt a disk
  20. change (if nescessary) and will run Twin in the normal manner. When !Twin is
  21. run (double-clicked) it will re-name itself to !Twin132, and will cause the
  22. 132 column version of Twin to be run on future uses of BASIC's TWIN command.
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29. RISC-OS hints and tips.
  30.  
  31. In the September issue of Archive, Gary Atkinson gave a hint on using
  32. Filer_OpenDir and Filer_CloseDir from within applications. A rather shorter
  33. means of doing this is listed below:
  34.  
  35. OSCLI "SET Alias$FOD Filer_OpenDir <Obey$Dir>"
  36. OSCLI "FOD"
  37. OSCLI "UNSET FOD"
  38.  
  39. Or:
  40.  
  41. OSCLI "SET Alias$FCD Filer_CloseDir <Obey$Dir>"
  42. OSCLI "FCD"
  43. OSCLI "UNSET FCD"
  44.  
  45. This can be used in OBEY files by ommiting the OSCLIs and quote marks. To
  46. open a sub-directory of an application use:
  47.  
  48. OSCLI "SET Alias$FOD Filer_OpenDir <Obey$Dir>.SubDir"
  49.